using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class UIGameStart_SwitchLevelArea : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler
{
    public void OnBeginDrag(PointerEventData eventData)
    {
        (UIManager.Instance.GetUI("GameStart") as UIGameStart).OnSwitchLevelAreaDragStart();
    }

    public void OnDrag(PointerEventData eventData)
    {
        (UIManager.Instance.GetUI("GameStart") as UIGameStart).OnSwitchLevelAreaDrag();
    }

    public void OnEndDrag(PointerEventData eventData)
    {
        (UIManager.Instance.GetUI("GameStart") as UIGameStart).OnSwitchLevelAreaDragEnd();
    }
}
